<!-- <div class="ui secondary pointing menu"> -->
 <div class="ui  inverted   menu" style="background:#21BA45;min-height:3.85714286em">
    <p class="item" style="padding-left:250px;"></p>
    
    {{range .topmenu}}
    <a class="item" id="{{.code}}_{{.id}}">{{.text}} </a>
    <!-- <a class="item" id="system">系统管理 </a> -->
 
    {{end}}
    <div class="right menu">
        <a class="ui item" onclick="logout()">登出 </a>
    </div>
</div>
<script>
function logout(){
	 $.ajax({
        type: "post",
        url: "/logout",
        success: function(data) {
            window.location.href = "/";
        }
    });
}
</script>

